/** **/
package com.zte.claa.inficombo.csa.app.service.modbus.entity;

import java.io.Serializable;

public class ModbusMasterConfig implements Serializable {
    /**
     * 主站配置Id
     */
    private String masterconfigid;

    /**
     * ip
     */
    private String ip;

    /**
     * port
     */
    private Integer port;

    /**
     * 
     */
    private String projectid;

    /**
     * 是否生效0:生效,1失效,默认0
     */
    private Byte status;

    /**
     * 传输类型,0:tcp/ip,1:udp,默认0
     */
    private Byte transfertype;
    
    /**
     * 发包间隔,默认2000ms
     */
    private Integer cmdinterval;
    

    /**
     * 
     */
    private String remark;

    /**
     * t_combo_modbus_master_config_table
     */
    private static final long serialVersionUID = 1L;

    /**
     * 主站配置Id
     * @return masterconfigId 主站配置Id
     */
    public String getMasterconfigid() {
        return masterconfigid;
    }

    /**
     * 主站配置Id
     * @param masterconfigid 主站配置Id
     */
    public void setMasterconfigid(String masterconfigid) {
        this.masterconfigid = masterconfigid;
    }

    /**
     * ip
     * @return ip ip
     */
    public String getIp() {
        return ip;
    }

    /**
     * ip
     * @param ip ip
     */
    public void setIp(String ip) {
        this.ip = ip;
    }

    /**
     * port
     * @return port port
     */
    public Integer getPort() {
        return port;
    }

    /**
     * port
     * @param port port
     */
    public void setPort(Integer port) {
        this.port = port;
    }

 
    /**
     * 
     * @return projectid 
     */
    public String getProjectid() {
        return projectid;
    }

    /**
     * 
     * @param projectid 
     */
    public void setProjectid(String projectid) {
        this.projectid = projectid;
    }

    /**
     * 是否生效0:生效,1失效,默认0
     * @return status 是否生效0:生效,1失效,默认0
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * 是否生效0:生效,1失效,默认0
     * @param status 是否生效0:生效,1失效,默认0
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * 传输类型,0:tcp/ip,1:serial,默认0
     * @return transfertype 传输类型,0:tcp/ip,1:serial,默认0
     */
    public Byte getTransfertype() {
        return transfertype;
    }

    /**
     * 传输类型,0:tcp/ip,1:serial,默认0
     * @param transfertype 传输类型,0:tcp/ip,1:serial,默认0
     */
    public void setTransfertype(Byte transfertype) {
        this.transfertype = transfertype;
    }

    /**
     * 
     * @return remark 
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 
     * @param remark 
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

	public Integer getCmdinterval() {
		return cmdinterval;
	}

	public void setCmdinterval(Integer cmdinterval) {
		this.cmdinterval = cmdinterval;
	}
}